<section class="content-header">
    <h1>网站设置</h1>
</section>

<!-- Main content -->
<section class="content">
    <p class="content-msg">
    </p>

    <form action="${CPATH}/admin/option/save" method="POST" id="form" enctype="multipart/form-data">
        <input type="hidden" name="ucode" value="${ucode}"> <input
            type="hidden" name="autosave" value="
            banner_img_logo,
            banner_img_1,banner_pro_1,banner_title_1,banner_text_1,banner_url_1,
            banner_img_2,banner_pro_2,banner_title_2,banner_text_2,banner_url_2,
            banner_img_3,banner_pro_3,banner_title_3,banner_text_3,banner_url_2,
        product_show,
        zizhi_show,
        uses_show
        ">
        <div class="row">
            <div class="col-xs-12">
                <h4 class="jp-set-title">首页设置</h4>
                <ul class="list-unstyled">

                    <li class="jp-set-pad">
                        <div class="col-sm-3 ">
                            <div class="jp-set-info ">网站Logo(.png 115*52)</div>
                        </div>
                        <div class="col-sm-9  jp-set-title-line">
                            <div class="col-sm-6 jp-table-distance-top ">
                                <img alt="" src="${CPATH}${OPTION('banner_img_logo')!}" width="115px" height="52px">
                                <br/>
                                <input name="banner_img_logo" type="file">
                                <input class="form-control input-md" type="text" name="banner_img_logo"
                                       value="${OPTION('banner_img_logo')!}">
                            </div>
                        </div>
                    </li>

                    <li class="jp-set-pad">
                        <div class="col-sm-3 ">
                            <div class="jp-set-info ">滚动背景1</div>
                        </div>
                        <div class="col-sm-9  jp-set-title-line">
                            <div class="col-sm-6 jp-table-distance-top ">
                                <img alt="" src="${CPATH}${OPTION('banner_img_1')!}" width="500px" height="260px">
                                <br/>
                                <input name="banner_img_1" type="file">
                                <input class="form-control input-md" type="text" name="banner_img_1"
                                       value="${OPTION('banner_img_1')!}">
                            </div>
                        </div>
                        <div class="col-sm-3 ">
                            <div class="jp-set-info ">滚动产品图1（.png）</div>
                        </div>
                        <div class="col-sm-9  jp-set-title-line">
                            <div class="col-sm-6 jp-table-distance-top ">
                                <img alt="" src="${CPATH}${OPTION('banner_pro_1')!}" width="200px" height="200px">
                                <br/>
                                <input name="banner_pro_1" type="file">
                                <input class="form-control input-md" type="text" name="banner_pro_1"
                                       value="${OPTION('banner_pro_1')!}">
                            </div>
                        </div>
                        <div class="col-sm-3 ">
                            <div class="jp-set-info ">滚动标题1</div>
                        </div>
                        <div class="col-sm-9  jp-set-title-line">
                            <div class="col-sm-6 jp-table-distance-top ">
                                <input class="form-control input-md" type="text" name="banner_title_1"
                                       value="${OPTION('banner_title_1')!}" placeholder="滚动1标题">
                                <input class="form-control input-md" type="text" name="banner_text_1"
                                       value="${OPTION('banner_text_1')!}" placeholder="滚动1文字">
                                <input class="form-control input-md" type="text" name="banner_url_1"
                                       value="${OPTION('banner_url_1')!}" placeholder="滚动1指向地址">
                            </div>
                        </div>
                        <div class="clr"></div>
                    </li>

                    <li class="jp-set-pad">
                        <div class="col-sm-3 ">
                            <div class="jp-set-info ">滚动背景2</div>
                        </div>
                        <div class="col-sm-9  jp-set-title-line">
                            <div class="col-sm-6 jp-table-distance-top ">
                                <img alt="" src="${CPATH}${OPTION('banner_img_2')!}" width="500px" height="260px">
                                <br/>
                                <input name="banner_img_2" type="file">
                                <input class="form-control input-md" type="text" name="banner_img_2"
                                       value="${OPTION('banner_img_2')!}">
                            </div>
                        </div>
                        <div class="col-sm-3 ">
                            <div class="jp-set-info ">滚动产品图2（.png）</div>
                        </div>
                        <div class="col-sm-9  jp-set-title-line">
                            <div class="col-sm-6 jp-table-distance-top ">
                                <img alt="" src="${CPATH}${OPTION('banner_pro_2')!}" width="200px" height="200px">
                                <br/>
                                <input name="banner_pro_2" type="file">
                                <input class="form-control input-md" type="text" name="banner_pro_2"
                                       value="${OPTION('banner_pro_2')!}">
                            </div>
                        </div>
                        <div class="col-sm-3 ">
                            <div class="jp-set-info ">滚动标题2</div>
                        </div>
                        <div class="col-sm-9  jp-set-title-line">
                            <div class="col-sm-6 jp-table-distance-top ">
                                <input class="form-control input-md" type="text" name="banner_title_2"
                                       value="${OPTION('banner_title_2')!}" placeholder="滚动1标题">
                                <input class="form-control input-md" type="text" name="banner_text_2"
                                       value="${OPTION('banner_text_2')!}" placeholder="滚动1文字">
                                <input class="form-control input-md" type="text" name="banner_url_2"
                                       value="${OPTION('banner_url_2')!}" placeholder="滚动2指向地址">
                            </div>
                        </div>
                        <div class="clr"></div>
                    </li>

                    <li class="jp-set-pad">
                        <div class="col-sm-3 ">
                            <div class="jp-set-info ">滚动背景3</div>
                        </div>
                        <div class="col-sm-9  jp-set-title-line">
                            <div class="col-sm-6 jp-table-distance-top ">
                                <img alt="" src="${CPATH}${OPTION('banner_img_3')!}" width="500px" height="260px">
                                <br/>
                                <input name="banner_img_3" type="file">
                                <input class="form-control input-md" type="text" name="banner_img_3"
                                       value="${OPTION('banner_img_3')!}">
                            </div>
                        </div>
                        <div class="col-sm-3 ">
                            <div class="jp-set-info ">滚动产品图3（.png）</div>
                        </div>
                        <div class="col-sm-9  jp-set-title-line">
                            <div class="col-sm-6 jp-table-distance-top ">
                                <img alt="" src="${CPATH}${OPTION('banner_pro_3')!}" width="200px" height="200px">
                                <br/>
                                <input name="banner_pro_3" type="file">
                                <input class="form-control input-md" type="text" name="banner_pro_3"
                                       value="${OPTION('banner_pro_3')!}">
                            </div>
                        </div>
                        <div class="col-sm-3 ">
                            <div class="jp-set-info ">滚动标题3</div>
                        </div>
                        <div class="col-sm-9  jp-set-title-line">
                            <div class="col-sm-6 jp-table-distance-top ">
                                <input class="form-control input-md" type="text" name="banner_title_3"
                                       value="${OPTION('banner_title_3')!}" placeholder="滚动1标题">
                                <input class="form-control input-md" type="text" name="banner_text_3"
                                       value="${OPTION('banner_text_3')!}" placeholder="滚动1文字">
                                <input class="form-control input-md" type="text" name="banner_url_3"
                                       value="${OPTION('banner_url_2')!}" placeholder="滚动3指向地址">
                            </div>
                        </div>
                        <div class="clr"></div>
                    </li>

                </ul>
            </div>
            <div class="col-xs-12">
                <h4 class="jp-set-title">产品页设置</h4>
                <ul class="list-unstyled">

                    <li class="jp-set-pad">
                        <div class="col-sm-3 ">
                            <div class="jp-set-info ">产品展示说明</div>
                        </div>
                        <div class="col-sm-9  jp-set-title-line">
                            <div class="col-sm-6 jp-table-distance-top ">
                                <textarea class="form-control input-md" type="text" name="product_show" rows="4"
                                          placeholder="文字">${OPTION('product_show')!}</textarea>
                            </div>
                        </div>
                        <div class="clr"></div>
                    </li>
                </ul>
            </div>

            <div class="col-xs-12">
                <h4 class="jp-set-title">资质页设置</h4>
                <ul class="list-unstyled">

                    <li class="jp-set-pad">
                        <div class="col-sm-3 ">
                            <div class="jp-set-info ">资质展示说明</div>
                        </div>
                        <div class="col-sm-9  jp-set-title-line">
                            <div class="col-sm-6 jp-table-distance-top ">
                                <textarea class="form-control input-md" type="text" name="zizhi_show" rows="4"
                                          placeholder="文字">${OPTION('zizhi_show')!}</textarea>
                            </div>
                        </div>
                        <div class="clr"></div>
                    </li>
                </ul>
            </div>

            <div class="col-xs-12">
                <h4 class="jp-set-title">经典应用页设置</h4>
                <ul class="list-unstyled">

                    <li class="jp-set-pad">
                        <div class="col-sm-3 ">
                            <div class="jp-set-info ">经典应用展示说明</div>
                        </div>
                        <div class="col-sm-9  jp-set-title-line">
                            <div class="col-sm-6 jp-table-distance-top ">
                                <textarea class="form-control input-md" type="text" name="uses_show" rows="4"
                                          placeholder="文字">${OPTION('uses_show')!}</textarea>
                            </div>
                        </div>
                        <div class="clr"></div>
                    </li>
                </ul>
            </div>
            <!-- /.box -->
        </div>
        <div class="row">
            <div class="col-xs-12">
                <button type="button" onclick="doSubmit()" class="btn btn-primary">保存更改</button>
            </div>
        </div>
        <!-- /.row -->
    </form>
</section>
